local search = require "search"
local result = require "result"
-- loadFileV4 查询ipv4 离线库
-- loadFileV6 查询ipv6 离线库
-- 第二个参数传入file为文件版 传入mem为内存版
search.LoadFileV4("D:\\databases\\ipdatacloud_city.dat","mem")
for i = 1 ,10 do
    local findIp = search.FindIP("1.2.3.4")
    search.reload()
    print(findIp)
end


